package parkshop.pmcourse.service.inter;

import javax.servlet.http.HttpServletRequest;

import parkshop.pmcourse.domain.Info;

// 普通的 Ser 层接口，无需注解
public interface InfoSer {

	  
    public Info login(Info user);
    
	public boolean signup(Info user);
	
    
    public boolean checkPass(Integer id,String oldPass);
	
	public Info getUserInfoByName(String userName) ;
	public void addSession(HttpServletRequest request, Info info);

	public void destroySession(HttpServletRequest request);
}
